package com.octlan.equationgraph.ctrl
{
	import mx.rpc.http.HTTPService;
	
	public class MainCtrl
	{
		private static var instance:MainCtrl = null;
		public function MainCtrl()
		{
		}
		public static function getInstance():MainCtrl
		{
			if (instance == null)
			{
				instance = new MainCtrl();
			}
			return instance;
		}
		public function createService():HTTPService
		{
			var service:HTTPService = new HTTPService();
			service.resultFormat = "text";
			return service;
		}
	}
}